from typing import TypedDict, Optional

class UserState(TypedDict):
    user_id: str
    user_profile: str  # 可选值：newbie, high_net_worth, conservative, scenario_based
    is_first_order_done: bool
    current_stage: str
    last_message: str